<!DOCTYPE html>
<html lang="en">
<head>
        <?php include_once VIEWS.'/inc/head.php'; ?>

</head>
<body>
 <div class="box"></div>

    <?php include_once VIEWS.'/inc/header.php'; ?>
    <!--头部导航-->
     <?php include_once VIEWS.'/inc/nav.php'; ?>
     <!--分隔-->
  <div class="wrap clear">
       
    
        <!--banner大图-->
<?php if(isset($info['id'])):?>
        <div class="about clear">
            <div class="about_cen">
                <div class="about_top">
                    <span><?php echo $info['title'];?></span>
                    <p><?php echo date('Y / m / d',$info['timeline']);?></p>
                </div>
                <div class="about_bot">
                    <?php echo $info['content'];?>
                </div>
                <div class="news_nx">
                <?php if(isset($updown['next']['title'])):?>
                    <a href="<?php echo site_url('news/info/'.$updown['next']['id']); ?>">
                    <span>上一篇：<?php echo $updown['next']['title'];?></span></a>
                <?php else:?>
                    <a href="javascript:;"><span>上一篇：<?php echo "没有上一篇...";?></span></a>
								<?php endif;?> 
                    
                    
                <?php if(isset($updown['prev']['title'])):?>
                		<a href="<?php echo site_url('news/info/'.$updown['prev']['id']); ?>">
                    <span>下一篇：<?php echo $updown['prev']['title'];?></span></a>
                <?php else:?>
										<a href="javascript:;"><span>下一篇：   </span><?php echo "没有下一篇...";?></a>
								<?php endif;?>
                    
                    <a href="<?php echo  site_url("news/index"); ?>"><i>返回</i></a>
                </div>
            </div>

        </div>
<?php 
		else:
    header("Location:".site_url('news/index'));
    exit;
?>
<?php endif;?>
      <!--分隔-->

  </div>





 
    <!--商业区域-->



</body>
</html>

